package com.jialin.test.spring;



import java.util.Date;

import com.commons.annotation.Id;

public class Person {
	@Id
	private int id;
	private String name;
	private Date birthday;
	private int isMan;
	private double salary;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public double getSalary() {
		return salary;
	}
	public void setSalary(double salary) {
		this.salary = salary;
	}
	@Override
	public String toString() {
		
		return "id:"+id+"\nname:"+name+"\nbirthday"+birthday+"\nisMan:"+isMan+"\nsalary:"+salary+"\n";
	}
	public int getIsMan() {
		return isMan;
	}
	public void setIsMan(int isMan) {
		this.isMan = isMan;
	}
	
	
}
